package com.jt.shop.service;

import com.jt.shop.model.User;

import java.util.List;

/**
 * Created by he on 2015/9/5.
 */
public interface UserService {

    int add(User user);

    void update(User user);

    void delete(int id);

    User find(int id);

    User findByEmail(String email);

    User login(String username, String password);

}
